<?php

use Illuminate\Http\Request;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::group([
    'middleware' => 'api',
    'namespace' => 'api',
] , function(){
    Route::post('/getOrgList' , 'OrgController@getOrgList')->name('api.org.getOrgList');
    Route::post('/editOrg' , 'OrgController@editOrg')->name('api.org.editOrg');
    Route::post('/deleteOrg' , 'OrgController@deleteOrg')->name('api.org.deleteOrg');
    Route::post('/addOrg' , 'OrgController@addOrg')->name('api.org.addOrg');
});